package com.example.demo.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhangbiao
 * @date 2021/4/3 15:49
 * @desc 课表实体
 */
@Data
@Entity
@Table(name = "t_timetable")
public class TimetableBean extends BaseBean {

    @Column(name = "class_name", length = 30)
    private String className; //班级名称

    @Column(length = 10,name = "course_name")
    private String courseName;// 课程名称

    @Column(length = 50,name = "week")
    private String week;// 星期几

    @Column(name = "start_node", length = 2)
    private String start_node; //课程开始节数 从1开始最多12节

    @Column(name = "end_node", length = 2)
    private String end_node; //课程开始节数 从1开始最多12节

}
